package sensors.realSensors;

import robots.RealGhost;
import sensors.IRSensor;

public class RealInfraredSensor extends RealSensor implements IRSensor{
	
	public RealInfraredSensor(RealGhost ghost){
		super(ghost, ghost.getCommunicator());
	}
	
	public int getDirection(){
		return getCommunicator().getDirectionIR();
	}
}
 